<tr>
    <td width="70%" align="left" valign="top">
<div class="block_box">
     <div class="block_top"><div></div></div>
        <div class="block_content">

<h2>城市列表</h2>

<table>
  <tr>
  <% for column in City.content_columns %>
    <th><%= column.human_name %></th>
  <% end %>
  </tr>
  
<% for city in @cities %>
  <tr>
    <td><%= link_to "#{city.title}", :action => 'show', :id => city %></td>
    <td><%= city.pinyin %></td>
    <td><%= link_to 'Edit', :action => 'edit', :id => city %></td>
  </tr>
<% end %>
</table>
<% if !@cities_pages.nil? %>
<%= pagination_links(@cities_pages)%>
<% end %>
</div>
     <div class="block_bottom"><div></div></div>
 </div>

</td>
    <td width="30%" align="left" valign="top">
 

 <div class="block_box">
     <div class="block_top"><div></div></div>
       <div class="block_content">
       <%= link_to '新建城市', :action => 'new' %>
   </div>
     <div class="block_bottom"><div></div></div>
 </div>
 <br/>
 
 <div class="block_box">
     <div class="block_top"><div></div></div>
       <div class="block_content">
       <form method="get" action ="/city/search/">
         <input name="q" type="text" size="32" maxlength="72" value="" id="page_focus"/>
         <input id="search_type_city" name="search_type" type="radio" value="city" />城市
         <input id="search_type_district" name="search_type" type="radio" value="district" />城区
         <input id="search_type_community" name="search_type" type="radio" value="community" />社区
         <input type="submit" value="搜索"/>
       </form>
   </div>
     <div class="block_bottom"><div></div></div>
 </div>
 
 </td>
  </tr>
